home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 41 / Issue 41.iso / pc / PCSoftware / Netscape 6 Official Release / nim.xpi / bin / chrome / aim.jar / content / aim / TabSetup.js < prev    next >
Encoding:
Text File  |  2000-05-24  |  807 b   |  26 lines

  1.  
  2. function AimWindowLoad2(topWindow)
  3. {
  4.     // Make it move to the Setup Tab not online tab
  5.     var tabObj = topWindow.frames["AimSidebarPanel"].document.getElementById("tabOnline");
  6.     
  7.     tabObj.setAttribute("style","");
  8.     tabObj.setAttribute("selected","false");
  9.  
  10.     tabObj = topWindow.frames["AimSidebarPanel"].document.getElementById("tabSetup");
  11.     //tabObj.setAttribute("style","text-decoration:underline;");
  12.     tabObj.setAttribute("selected","true");
  13.  
  14.     //tabObj.click();
  15.  
  16.     var tabPanel = topWindow.frames["AimSidebarPanel"].document.getElementById("OnlineOrgTabPanel");
  17.     tabPanel.setAttribute("index",1);
  18.  
  19.     var parentState = topWindow.document.getElementById("AimSidebarState");
  20.     if(!parentState)
  21.         return;
  22.  
  23.     dump("got parent State\n");
  24.     parentState.setAttribute("AimSidebarTab", "Setup"); 
  25. }
  26.